<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8" isELIgnored="false"%>
	
<%@ include file="/WEB-INF/views/shared/taglib.jsp"%>

<div class="row">
	<div class="col-md-6 col-sm-6 col-lg-6 hidden-xs" >
		<c:set value="${goodStoreSearch.searchItemList}" var="searchItemList" />
		<%@ include file="/WEB-INF/views/shared/master/searchItem.jsp"%>
	</div>
	<div class="col-md-6 col-sm-6 col-lg-6 col-xs-12 text-right">
		<t:roleButton />
	</div>
</div>

<script type="text/javascript">
function addData(){
	top.openModal("/admin/ser/goodStore/goodStoreDetailed","goodStore_form","店铺详情-添加",770,400);
}
function editData(){
	var id=getKeyId();
	if(isEditor(id)){
		top.openModal("/admin/ser/goodStore/goodStoreDetailed?key="+id,"goodStore_form","店铺详情-修改",770,400);
	}
}
function selData(){
	var id=getKeyId();
	if(isEditor(id)){
		top.openModal("/admin/ser/goodStore/goodStoreDetailed?key="+id+"&mode=3","goodStore_form","店铺详情-查看",770,400);	
	}
}

function deleteData(){
	var id=getKeyId();
	if(isEditor(id)){
		var url=$.getVirtualPath()+"/admin/ser/goodStore/delete?key="+id;
		deleteDataEx(url,function(data){
			if(data.resultType=="success"){
				formSubmit();
			}
		});
	}
}	


</script>